package cn.klaw.exception;

/**
 *
 *
 * @version V3.1.0
 *
 * @date 2021/3/16 10:57
 */
public class WorkFlowException extends Exception {

    private Integer code = 400;

    public WorkFlowException(Integer code,String message) {
        super(message);
        this.code = code;
    }

    public WorkFlowException(String message,Throwable e) {
        super(message,e);
        this.code = code;
    }

    public WorkFlowException(String message) {
        super(message);
    }

    public Integer getCode() {
        return code;
    }
}
